<?php foreach($list as $v){?>
    <a class="info-list" href="#">
        <span class="one-txt-cut"><i class="iconfont"></i>
            <?php if($v['type']==1) echo '发布主题获取积分'?>
            <?php if($v['type']==2) echo '发布评论获取积分'?>
            <?php if($v['type']==3) echo '旅途问答积分变化'?>
            <?php if($v['type']==4) echo '发布提议'?>
            <?php if($v['type']==5) echo '提议被采纳'?>
            <?php if($v['type']==6) echo '完成提议'?>
            <?php if($v['type']==7) echo '管理员增加'?>
            <?php if($v['integral']>0){ echo "<em>+".$v['integral']."</em>";}else{
                echo $v['integral'];
            }?>
        </span>
        <span class="info-time"><?php echo $v['add_time']?></span>
    </a>
<?php }?>